5
|
How do I put a picture on the control's background

ScrollBar1->Picture = (IPictureDisp*)(ScrollBar1->ExecuteTemplate("loadpicture(`c:\\exontrol\\images\\zipdisk.gif`)"));
ScrollBar1->VisiblePart[Exscrollbarlib_tlb::PartEnum::exBackgroundPart] = false;
ScrollBar1->BackColor = 0x80000004;
|
4
|
How can I change the size of control's font

ScrollBar1->Font->Size = TVariant(long(12));
ScrollBar1->ForeColor = RGB(255,0,0);
ScrollBar1->Caption[Exscrollbarlib_tlb::PartEnum::exThumbPart] = L"<img>0</img>thumb";
|
3
|
How do I change the control's font

ScrollBar1->Font->Name = L"Tahoma";
ScrollBar1->ForeColor = RGB(255,0,0);
ScrollBar1->Caption[Exscrollbarlib_tlb::PartEnum::exThumbPart] = L"<img>0</img>thumb";
|
2
|
How can I change the control's foreground color

ScrollBar1->ForeColor = RGB(255,0,0);
ScrollBar1->Caption[Exscrollbarlib_tlb::PartEnum::exThumbPart] = L"<img>0</img>thumb";
|
1
|
How can I change the control's background color

ScrollBar1->BackColor = RGB(0,255,0);
ScrollBar1->VisiblePart[Exscrollbarlib_tlb::PartEnum::exBackgroundPart] = false;
|